

package com.maoshi.shop.seckill.comment.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.maoshi.shop.seckill.comment.model.SeckillOrder;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

/**
 * 秒杀订单
 *
 * @author LGH
 * @date 2019-08-28 09:36:59
 */
public interface SeckillOrderMapper extends BaseMapper<SeckillOrder> {

    void updateStateByOrderNumber(@Param("orderNumber") String orderNumber, @Param("state") int state);

    void cancelUnpayOrderByOrderNumber(@Param("orderNumber") String orderNumber);

    void cancelUnpayOrder();

}
